package com.design.mapstruct.convert;


import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author lijiaming
 * @version 1.0
 * @description 对象类型转换
 * @date 2025/10/29 10:54
 */
public interface AConvert {

    AConvert INSTANCE = Mappers.getMapper(AConvert.class);

    AStatementDTO convertDto(AStatement billingStatement);

    List<AStatementDTO> convertDtoList(List<AStatement> billingStatements);

    AStatement convertEntity(AStatementDTO billingStatementDto);
}
